package com.brspace.qualitycontrol.utils;

import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

//@Configuration
public class InterceptorConfig implements WebMvcConfigurer {

//    @Override
//    public void addInterceptors(InterceptorRegistry registry) {
//        registry.addInterceptor(new JWTInterceptor())
//                .addPathPatterns("/**")         //拦截所有
//                .excludePathPatterns("/user/login")  //登录
//                .excludePathPatterns("/user/reg");  //注册
//    }
}
